﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Update.aspx.cs" Inherits="AiRiZu.User.Update" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
<title>
	爱日租—全球最时尚、最具先锋概念的房屋日租、短租服务网站！
</title>
<meta content="爱日租,日租,短租,租房,家庭公寓,自助公寓,家庭旅馆,旅游" name="keywords"/>
<meta content="爱日租是国内首家专注房屋短期租赁的信息发布和在线交易的网站，为房主和租户搭建起最值得信赖的沟通和交易平台" name="description"/>

<link rel="stylesheet" href="css/css.css" />
<link rel="stylesheet" href="css/howitworks.css" />

<link rel="stylesheet" href="css/common.css" />
<link rel="stylesheet" href="css/pixie.css" />

<link rel="shortcut icon"
	href="images/favicon.ico" type="image/x-icon" />
<script type="text/javascript"
	src="js/jquery.min.js"></script>
<script type="text/javascript"
	src="js/jquery-ui.min.js"></script>
<script type="text/javascript"
	src="js/application6.js"></script>
<script type="text/javascript"
	src="js/home.js"></script>
<script type="text/javascript"
	src="js/translate.js"></script>
<script type="text/javascript"
	src="js/s_code.js?vid=1"></script>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta name="layout" content="main"/>
<link rel="stylesheet" href="css/dashboard.css" />


<script type="text/javascript">

//$(document).ready(function(){
//        opts = {};
//        AirbnbHomePage.init(opts);
//    });

function addEventHandler(target, type, func) { 
    if (target.addEventListener) 
        target.addEventListener(type, func, false); 
    else if (target.attachEvent) 
        target.attachEvent("on" + type, func); 
    else target["on" + type] = func; 
} 
addEventHandler(document, 'scroll', function() {
	document.getElementById('list_loading').style.top = $('body').scrollTop() + 'px';
});

function shiftLanguage(lang, country) {
	$.ajax({
		   type: "POST",
		   url: "/ajax/versionInternationalize",
		   data: 'lang=' + lang + '&country=' + country,
		   success: function(msg){
		   	   if(msg == 'success') {
		   	   	   window.location.reload(true);
		   	   }
		   }
		 });
}

//$(document).bind('click',function(event){  
//    var url = event.target.href;
//    if(event.target.parentNode.href) {
//		url = event.target.parentNode.href;
//    }
//    if(url && url.indexOf('http://') == 0) {
//    	if(url.indexOf("?") != -1 && (url.indexOf("/city") != -1 || url.indexOf("/list") != -1 || url.indexOf("/show") != -1)) {
//	    	post_to_url(url);
//	        event.preventDefault();  
//	        event.stopPropagation();
//    	}  
//    }  
//      
//},true);

function post_to_url(url) {
	var flag = false; // 目录到/room/show页面时是弹出新窗口，flag = false 不弹出，true是弹出
	if(url.indexOf("/room/show") != -1 && url.indexOf("?src=list") != -1){
        flag = true;
    }

    var form = document.createElement("form");
    var baseUrl = url.substring(0, url.indexOf("?"));
    var params = url.substring(url.indexOf("?") + 1, url.length);
    params = decodeURIComponent(params);
    params = params.replace("+", " ");
    var s = params.split("&");
    form.setAttribute("method", "post");
    form.setAttribute("action", baseUrl);
    for(var i = 0; i < s.length; i ++) {
        var hiddenField = document.createElement("input");
        hiddenField.setAttribute("type", "hidden");
        hiddenField.setAttribute("name", s[i].split("=")[0].replace('locationSearch', 'location'));
        hiddenField.setAttribute("value", s[i].split("=")[1]);
        form.appendChild(hiddenField);
    }
    $('body').append(form);
    if(flag){
        form.target="_blank"; // /room/show 新窗口弹出
    }
    
    form.submit();
}
</script>

<!--google analytics-->
<script type="text/javascript">

  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-22185191-1']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();

</script>

</head>
<body>
	<div name="waitingDiv" id="waitingDiv" style="display: none;">
		<div id="list_loading" name="list_loading">
			<div id="list_loading_wrapper" class="rounded_more">
				<img src="/images/home_spinner.gif"
					style="display: block; float: left; padding: 0 12px 0 0;" />页面载入中...
			</div>
		</div>
	</div></div>
	<div class="header">
	    <a class="logo" title="爱日租" href="../default.aspx"></a>
	    <div class="top_bar">
		    <ul class="nav">
			
		        <li>
		            <span class="SayHi"><%=Session["aliance"] != null? "嗨! " + Session["aliance"].ToString() : ""%></span>
		        </li>

				<li>
				    <a href="DashBoard.aspx">用户中心</a>
				</li>
				    <li>
					    <strong>
						    <a href="/message/inbox?offset=0" class="message">
							    <span id="unReadMessages"></span>
						    </a>
					    </strong>
					</li>
					
					<li class="rounded">
					    <%--<asp:HyperLink ID="HyperLink1" runat="server" ></asp:HyperLink>--%>
						<a href="javascript:void(0)" onclick="AddFavorite(window.location,document.title)">收藏</a>
							<%--收藏--%>
						<%--<span class="star" title="收藏" id="userFavorites"></span></a>--%>
					</li>
				<script type="text/javascript" language="javascript">
				    function AddFavorite(sURL, sTitle) {
				        try {
				            window.external.addFavorite(sURL, sTitle);
				        }
				        catch (e) {
				            try {
				                window.sidebar.addPanel(sTitle, sURL, "");
				            }
				            catch (e) {
				                alert("加入收藏失败，请使用Ctrl+D进行添加");
				            }
				        }
				    }
                    
                </script>

				<li>
				        <asp:LinkButton id="logoutButton" runat="server" onclick="logoutButton_Click">退出</asp:LinkButton>
				    
				</li>
				
			
				<li style="display:none"><span class="ChoLanguage selected">
				<a href="#">简体中文</a></span></li>
                <li style="display:none"><span class="EngLanguage">
       	        <a href="#">English</a></span></li>
	     
			
			
		</ul>
		<a href="../SendRoom.aspx" class="btn list_your_space">
			<span>发布房间</span>		</a>		</div>
		<p class="customer_hot_line"><span>400-696-6656</span><a href="#">媒体报道</a></p>
	</div>
	
	<div id="notice">
		<span class="good" style="font-size: 30px; margin-right: 30px;">编辑个人信息成功</span>

		<a href="/user/edit/32733">继续编辑</a>
		|
		<a href="DashBoard.aspx">返回我爱日租</a>
		<br />
	</div>
	<div id="profile">
		<div class="backdrop">
			<div class="pstyle1">
				<div id="left_side">
					<div id="listing" class="rounded_more drop_shadow_standard">
						<div id="user">
							
							<div class="inner">
								
								
								
	
	
	
		
	


<div style="overflow: hidden;">
<img src="/upload/images/user/32733/1.JPEG" title='wang weibin'
	alt='wang weibin' />
</div>

								<div style="margin-bottom: 15px;">
									<div class="page_link page_link_selected">
										<a href="/user/edit/32733">
											wang weibin
										</a>
									</div>
									<div class="page_link ">
										<a href="/user/myrooms" style="font-size:18px;">所有房间</a>
										(0)
									</div>
								</div>
								<div class="row">
									<span class="property">学校</span>
									
								</div>
								<div class="row">
									<span class="property">工作</span>
									
								</div>
								<div class="row">
									<span class="property">语言</span> 中文(简体)
								</div>
							</div>
						</div>
					</div>
				</div>
				<div id="right_side">
					<div class="title">
						<div class="member_since">2011-10-05 02:27:39登录</div>
					</div>
					<div class="white_box" style="margin-top: 0px;">
						<div class="white_box_inner">
							<div class="h2">
								wang weibin的房间
								(<a href="/user/myrooms" style="font-size:18px;">0</a>)
							</div>
							<table id="user_result_list">
								
							</table>
							<div style="text-align: right; margin-top: 5px;">
								<a href="/user/myrooms/32733" style="font-size:18px;">查看所有房间</a>
							</div>
						</div>
					</div>
					<!-- PROFILE INFO -->
					<div class="white_box">
						<div class="white_box_inner">
							<div class="h2">自我描述</div>
							sdfsdfsdf
						</div>
					</div>
					
					<!-- REVIEWS -->
					<div class="white_box" style="display:none">
						<div class="white_box_inner">
							<div class="h2">信誉</div>
							<ul id="thereputation">
								<li style="width: 690px"><img class="reputation_arrow"
									src="/images/command_center/reputation_arrow.gif" />
									<div class="review_meta">
										<div class="picture">
											<a href="" /> <a href=""> <img alt='名字' height="50"
												src="/images/p_photo-1.jpg"
												title="Audrey B" width="50" /> </a>
										</div>
										<div class="person">
											<a href="" target="blank">名字</a>
										</div>
									</div>
									<div class="review_body rounded_more">
										<p class="rounded_more trans">留言内容</p>
									</div></li>
							</ul>
							<div class="clear"></div>
						</div>
					</div>
					
				</div>
				<!-- END RIGHT -->
				<div class="clear"></div>
			</div>
			<div class="clear"></div>
		</div>
	</div>


	<!-- footer -->
	
<div id="footer">
  <p class="TxtEn">&copy; Copyright 2011 <a href="#">airizu.com 爱日租 版权所有</a>&nbsp;&nbsp;京ICP证110553 号
	 <br/>
	 <br/><img src="images/alipay.gif" width="123" height="40">&nbsp;&nbsp;
    <img src="images/tenpay.gif" width="96" height="40">&nbsp;&nbsp;    <img src="images/315.gif" width="89" height="40">    <img src="images/bluelogoair.gif"/></p>
</div>
</body>
>
</html>
